#ifndef PROGRESSDIALOG_H
#define PROGRESSDIALOG_H

#include <QDialog>
#include "defines.h"

namespace Ui {
    class ProgressDialog;
}

class ProgressDialog : public QDialog {
    Q_OBJECT

public:
    ProgressDialog(QWidget *parent = 0);
    ~ProgressDialog();

	void setMaximumProgress(int maximum);

signals:
	void start();
    void openSIS();

public slots:
	void updateProgress(int current);
	void updateStatusText(QString text);
    void setFinishedView(GeneratorTarget target, bool success);

protected:
    void changeEvent(QEvent *e);

private slots:
	void openLog();

private:
    Ui::ProgressDialog *ui;
};

#endif // PROGRESSDIALOG_H
